home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / util / moni / Scout-src.lha / source / objects / scout_locks_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-02-13  |  2.1 KB  |  91 lines

  1. /**
  2.  * Scout - The Amiga System Monitor
  3.  *
  4.  *------------------------------------------------------------------
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  *
  20.  * You must not use this source code to gain profit of any kind!
  21.  *
  22.  *------------------------------------------------------------------
  23.  *
  24.  * @author Andreas Gelhausen
  25.  * @author Richard Körber <rkoerber@gmx.de>
  26.  */
  27.  
  28.  
  29. /* Prototypes for functions defined in
  30. objects/scout_locks.c
  31.  */
  32.  
  33. struct   LockEntry {
  34.    struct   LockEntry   *lock_next;
  35.    char  *lock_ptr;
  36.    char  lock_address[ADDRESSLENGTH];
  37.    char  lock_access[32];
  38.    char  *lock_path;
  39. };
  40.  
  41. extern int lockanzahl;
  42.  
  43. extern int hiddenanzahl;
  44.  
  45. LONG __asm locklist_cmppathfunc(register __a1 struct LockEntry * , register __a2 struct LockEntry * );
  46.  
  47. extern struct Hook locklist_cmppathhook;
  48.  
  49. LONG __asm locklist_dspfunc(register __a2 char ** , register __a1 struct LockEntry * , register __a0 struct Hook * );
  50.  
  51. extern struct Hook locklist_dsphook;
  52.  
  53. void FreeLocks(void);
  54.  
  55. APTR GetLocks(int , char * , struct LockEntry ** );
  56.  
  57. void PrintLocks(char * );
  58.  
  59. void ShowLocks(void);
  60.  
  61. void SendLockList(void);
  62.  
  63. extern APTR WI_Locks;
  64.  
  65. extern APTR locklist;
  66.  
  67. extern APTR locktext;
  68.  
  69. extern APTR lockcount;
  70.  
  71. extern APTR CY_LockSort;
  72.  
  73. extern int locksortstate;
  74.  
  75. extern APTR lockpattern;
  76.  
  77. extern APTR locktext2;
  78.  
  79. extern APTR BT_LockUpdate;
  80.  
  81. extern APTR BT_LockPrint;
  82.  
  83. extern APTR BT_LockRemove;
  84.  
  85. extern APTR BT_LockExit;
  86.  
  87. extern APTR LockSortList[4];
  88.  
  89. void LocksWindow(BOOL );
  90.  
  91.